<?php
	mysql_query("update kboy_user set user_hit=user_hit+1 where uid=$uid");
	
	if($_SESSION['kboy_userid'] != $uid){
		if(!empty($_SESSION['kboy_userid'])){
			if(getNewsNums("kboy_forum_visitor","uid=".$_SESSION['kboy_userid']." and tid=$uid") >0){
				mysql_query("update kboy_forum_visitor set visitor_updatetime='$THIS_TODAY_DATETIME' where uid=".$_SESSION['kboy_userid']." and tid=$uid");
			}else{
				mysql_query("insert into kboy_forum_visitor(uid,tid,visitor_updatetime) value(".$_SESSION['kboy_userid'].",$uid,'$THIS_TODAY_DATETIME')");
			}
		}
	}
?>
<div class="sq-top-title"><h3><?=getUserNickName($uid)?>个人主页</h3><span><?=getClassName("kboy_user","user_maxim","uid=$uid")?></span></div>
